﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace Business.Solr {
    public class SolrResponseError {
        [JsonProperty("msg")]
        public string Message {
            get;
            set;
        }

        [JsonProperty("code")]
        public int Code {
            get;
            set;
        }

        public override string ToString() {
            return string.Format("[{0}]{1}", Code, Message);
        }
    }
}
